<div id="site-logo">
       	 	<?php if ($logo) { ?>
		     <a href="<?php echo str_replace('&', '&amp;', $home); ?>"><img src="<?php echo $logo; ?>" title="<?php echo $store; ?>" alt="<?php echo $store; ?>" /></a>
		     <?php } ?>
		     
</div>

<div id="login-panel" >
	<?php if (!$logged) { ?>
      <a href="<?php echo str_replace('&', '&amp;', $login); ?>" id="tab_login"><?php echo $text_login; ?></a> | 
	  <a href="<?php echo str_replace('&', '&amp;', $register); ?>" id="tab_account"><?php echo $text_register; ?></a> |
	<?php } else { ?>
		Welcome: <?php echo $this->customer->getFirstName(); ?><br/>
		
      <a href="<?php echo str_replace('&', '&amp;', $logout); ?>" id="tab_logout"><?php echo $text_logout; ?> </a>  | <a href="<?php echo str_replace('&', '&amp;', $account); ?>" id="tab_account"><?php echo $text_account; ?></a>
	  
    <?php } ?>
	 | <div id="module_cart" style="display:inline;"><a href="<?php echo $view; ?>"><div class="middle" style="display:inline;"><?php echo $text_cart; ?> (<?php echo $totalcount;?>)</div></a></div>
</div> 

<div id="column_right">
  <?php foreach ($modules as $module) { ?>
  <?php echo ${$module['code']}; ?>
  <?php } ?>
</div>



